package com.school_admin.mapper;

import com.school_admin.entity.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2024-03-18
 */
@Mapper
public interface AdminMapper extends BaseMapper<Admin> {

    @Update("UPDATE sc_admin SET password = #{password} WHERE uid = #{uid}")
    boolean updatePassword(String password,String uid);
}
